const date = new Date()
const timestamp = +date
console.log(date) // 2019-03-08T03:43:54.728Z
console.log(timestamp) // 1552016634728